/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package se.bth.ke.firstfriend.model;

import javax.persistence.Entity;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author nico
 */
@Entity
@XmlRootElement
public class Bookmark extends BookmarkableItem {
    
    public Bookmark() {}

    /**
     * 
     * @param article
     */
    public Bookmark(Article article) {
        super(article);
    }
    
    @Override
    public String toString() {
        return "se.bth.ke.firstfriend.model.Bookmark[id=" + getId() + "]";
    }
}
